<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>
		<fmt:message key="label.page.incretnb"/>
	</title>
	<link rel="stylesheet" href="style/style.css" type="text/css" />
	<link rel="stylesheet" href="style/jquery-ui-1.9.2.custom.css" type="text/css" />
	<script type="text/javascript" src="script/jquery-1.8.3.js"></script>
	<script type="text/javascript" src="script/jquery-ui-1.9.2.custom.js"></script>
	<script type="text/javascript" src="script/common.js"></script>
</head>
<body>
	<%
		Object obj = request.getSession().getAttribute("incrementNumber");
		int nbIncret = (obj != null)?(Integer)obj:0;
	%>
	
	<div id="divLogout">
		<fmt:message key="label.logout"/>
	</div>
	<div id="divMenuIncret">
		<input type="radio" id="radioIncret" name="radio" checked="checked" />
		<label for="radioIncret">
			<fmt:message key="label.increment"/>
		</label>

		<input type="radio" id="radioDisplay" name="radio" />
		<label for="radioDisplay">
			<fmt:message key="label.display"/>
		</label>

		<input type="radio" id="radioReset" name="radio" />
		<label for="radioReset">
			<fmt:message key="label.reset"/>
		</label>
	</div>
	
	<form action="incretNb" method="post" >
		<div id="divMain">
			<img alt="" src="media/logoInsta.png" id="imgLogoInsta" />
			<span class="spanNbIncret"><fmt:message key="label.nbincrement"/> : </span><span class="spanNbIncret"><%= nbIncret %></span>
			<input id="bttnIncret" type="submit" value="Incrementer" />
		</div>
	</form>
</body>
</html>